<%@page import="com.wodwl.entity.App"%>
<%@page import="com.wodwl.entity.User"%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<%@include file="../templete/header.jsp" %>
	<script type="text/javascript" src="../../static/ckeditor/ckeditor.js"></script>
</head>
<body >
<%pageContext.setAttribute("linkType","4");%>
<%@include file="../templete/user_info.jsp"  %>

<%
	App app=(App)request.getAttribute("app");
%>

		<div class="conR">
			<div class="conR-hd">
				<h3>修改项目</h3>
			</div>
			<form action="/g305/app/app_editor2.do" method="post">
			 <input type="hidden" name="aid" value="<%=app.getAid() %>" >
				<table>
					<tr>
						<td>项目名称：</td><td><input type="text" name="name" value="<%=app.getName()%>"></td>
					</tr>
					<tr>
						<td>项目图标：</td><td><input type="text" name="icon"  value="<%=app.getIcon()%>"></td>
					</tr>
					
					<tr>
						<td>团队负责人：</td><td><input type="text" name="leader"  value="<%=app.getLeader()%>"></td>
					</tr>
					<tr>
						<td>团队成员：</td><td><input type="text" name="team"  value="<%=app.getTeam()%>"></td>
					</tr>
					<tr>
						<td>启动时间：</td><td><input type="text" name="start_time"  value="<%=app.getStart_time()%>"></td>
					</tr>
					<tr>
						<td>SVN地址：</td><td><input type="text" name="svn"  value="<%=app.getSvn()%>"></td>
					</tr>
					<tr>
						<td>截图地址：</td><td><input type="text" name="img_url"  value="<%=app.getImg_url()%>"></td>
					</tr>
					<tr>
						<td>当前状态：</td>
						<td>
							<select name="status">
								<option value="1"<%if(app.getStatus()==1){ %>selected="selected"<%} %>>未启动</option>
								<option value="2" <%if(app.getStatus()==2){ %>selected="selected"<%} %>>开发中</option>
								<option value="3"<%if(app.getStatus()==3){ %>selected="selected"<%} %>>已结项</option>
								<option value="4"<%if(app.getStatus()==4){ %>selected="selected"<%} %>>已废弃</option>
							</select>
						</td>
					</tr>
					<tr>
						
						<td colspan="2">
							项目描述及使用说明：<br/>
							<textarea name="description"  id="description" > <%=app.getDescription()%></textarea>
						</td>
					</tr>
					<tr>
						<td colspan="2">
							<input type="submit" value="提交">
						</td>
					</tr>
				</table>
			<script type="text/javascript">
					CKEDITOR.replace("description", {
						skin : "kama",
						width : 600,
						height : 400
					});
				</script>
				
			</form>
				<br/>
				<p class="pager-wrap pageList">
					<span class="pageList-cur">1</span> <a href="#" class="link-lb">2</a>
					<a href="#" class="link-lb">3</a> <a class="link-lb" href="#">下一页</a>
				</p>
			</div>
		</div>
	<jsp:include page="../templete/footer.jsp"></jsp:include>
</body>
</html>